home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / proflex3.zip / TOSS.BAT < prev    next >
DOS Batch File  |  1992-11-25  |  1KB  |  20 lines

  1. rem **************************************************************************
  2. rem * *** Toss.Bat ***                                                       *
  3. rem * This is a Dos (not Novell) sample batch file for tossing mail.         *
  4. rem * It will :                                                              *
  5. rem *    1) terminate the BTRIEVE program, if it is running                  *
  6. rem *    2) fireup BTRIEVE with the recommended parameters                   *
  7. rem *    3) run ProMail with the Toss option                                 *
  8. rem *    4) terminate the BTRIEVE program                                    *
  9. rem *                                                                        *
  10. rem * Steps 1, 2, 4 should NOT be done if the BBS is up and running.         *
  11. rem * They are done here to establish a known environment.                   *
  12. rem *                                                                        *
  13. rem * Step 4 actually closes the database.  It should be done anytime        *
  14. rem * the database is not needed.                                            *
  15. rem **************************************************************************
  16.  
  17. Bstop
  18. btrieve /u:4 /p:4096
  19. promail TOSS
  20. bstop -stop